﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000937 RID: 2359
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HNGOJHBPFEJ : IMessage<HNGOJHBPFEJ>, IMessage, IEquatable<HNGOJHBPFEJ>, IDeepCloneable<HNGOJHBPFEJ>, IBufferMessage
	{
		// Token: 0x17001DED RID: 7661
		// (get) Token: 0x060069EF RID: 27119 RVA: 0x0011CBC8 File Offset: 0x0011ADC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HNGOJHBPFEJ> Parser
		{
			get
			{
				return HNGOJHBPFEJ._parser;
			}
		}

		// Token: 0x17001DEE RID: 7662
		// (get) Token: 0x060069F0 RID: 27120 RVA: 0x0011CBCF File Offset: 0x0011ADCF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HNGOJHBPFEJReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001DEF RID: 7663
		// (get) Token: 0x060069F1 RID: 27121 RVA: 0x0011CBE1 File Offset: 0x0011ADE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HNGOJHBPFEJ.Descriptor;
			}
		}

		// Token: 0x060069F2 RID: 27122 RVA: 0x0011CBE8 File Offset: 0x0011ADE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HNGOJHBPFEJ()
		{
		}

		// Token: 0x060069F3 RID: 27123 RVA: 0x0011CBF0 File Offset: 0x0011ADF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HNGOJHBPFEJ(HNGOJHBPFEJ other) : this()
		{
			this.scriptId_ = other.scriptId_;
			this.fIEHEKFMFKM_ = other.fIEHEKFMFKM_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060069F4 RID: 27124 RVA: 0x0011CC21 File Offset: 0x0011AE21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HNGOJHBPFEJ Clone()
		{
			return new HNGOJHBPFEJ(this);
		}

		// Token: 0x17001DF0 RID: 7664
		// (get) Token: 0x060069F5 RID: 27125 RVA: 0x0011CC29 File Offset: 0x0011AE29
		// (set) Token: 0x060069F6 RID: 27126 RVA: 0x0011CC31 File Offset: 0x0011AE31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScriptId
		{
			get
			{
				return this.scriptId_;
			}
			set
			{
				this.scriptId_ = value;
			}
		}

		// Token: 0x17001DF1 RID: 7665
		// (get) Token: 0x060069F7 RID: 27127 RVA: 0x0011CC3A File Offset: 0x0011AE3A
		// (set) Token: 0x060069F8 RID: 27128 RVA: 0x0011CC42 File Offset: 0x0011AE42
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FIEHEKFMFKM
		{
			get
			{
				return this.fIEHEKFMFKM_;
			}
			set
			{
				this.fIEHEKFMFKM_ = value;
			}
		}

		// Token: 0x060069F9 RID: 27129 RVA: 0x0011CC4B File Offset: 0x0011AE4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HNGOJHBPFEJ);
		}

		// Token: 0x060069FA RID: 27130 RVA: 0x0011CC59 File Offset: 0x0011AE59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HNGOJHBPFEJ other)
		{
			return other != null && (other == this || (this.ScriptId == other.ScriptId && this.FIEHEKFMFKM == other.FIEHEKFMFKM && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060069FB RID: 27131 RVA: 0x0011CC98 File Offset: 0x0011AE98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ScriptId != 0U)
			{
				num ^= this.ScriptId.GetHashCode();
			}
			if (this.FIEHEKFMFKM != 0U)
			{
				num ^= this.FIEHEKFMFKM.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060069FC RID: 27132 RVA: 0x0011CCF0 File Offset: 0x0011AEF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060069FD RID: 27133 RVA: 0x0011CCF8 File Offset: 0x0011AEF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060069FE RID: 27134 RVA: 0x0011CD04 File Offset: 0x0011AF04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.FIEHEKFMFKM != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.FIEHEKFMFKM);
			}
			if (this.ScriptId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.ScriptId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060069FF RID: 27135 RVA: 0x0011CD60 File Offset: 0x0011AF60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ScriptId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScriptId);
			}
			if (this.FIEHEKFMFKM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FIEHEKFMFKM);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006A00 RID: 27136 RVA: 0x0011CDB8 File Offset: 0x0011AFB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HNGOJHBPFEJ other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ScriptId != 0U)
			{
				this.ScriptId = other.ScriptId;
			}
			if (other.FIEHEKFMFKM != 0U)
			{
				this.FIEHEKFMFKM = other.FIEHEKFMFKM;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006A01 RID: 27137 RVA: 0x0011CE08 File Offset: 0x0011B008
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006A02 RID: 27138 RVA: 0x0011CE14 File Offset: 0x0011B014
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.ScriptId = input.ReadUInt32();
					}
				}
				else
				{
					this.FIEHEKFMFKM = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002872 RID: 10354
		private static readonly MessageParser<HNGOJHBPFEJ> _parser = new MessageParser<HNGOJHBPFEJ>(() => new HNGOJHBPFEJ());

		// Token: 0x04002873 RID: 10355
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002874 RID: 10356
		public const int ScriptIdFieldNumber = 9;

		// Token: 0x04002875 RID: 10357
		private uint scriptId_;

		// Token: 0x04002876 RID: 10358
		public const int FIEHEKFMFKMFieldNumber = 5;

		// Token: 0x04002877 RID: 10359
		private uint fIEHEKFMFKM_;
	}
}
